package com.jk.controller;

import com.jk.entity.IntegrationEntity;
import com.jk.service.LenderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 位佳生
 * @title: LenderController
 * @projectName springboot_financial
 * @description: TODO
 * @date 2022/11/816:22
 */
@RestController
@RequestMapping("lender")
public class LenderController {
    @Autowired
    private LenderService lenderService;
    /**
    *
     * @Author 位佳生
     * @Description //TODO 根据项目id查询本项目的募资人征信担保情况
     * @Date 2022/11/9 14:34
     * @param propertyId: 
     * @return: com.jk.entity.IntegrationEntity
     **/
    @RequestMapping("getInter")
    public IntegrationEntity getInter(Integer propertyId){
        return lenderService.getInter(propertyId);
    }
}
